package com.banggood.upms.bean.po;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @author XuChuangFeng XuChuangFeng
 */
@Data
public class BaseColumn {

    /**
     * creatorUser id
     */
    private String creatorUserId;

    /**
     * creation time
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String creationTime;

    /**
     * deleterUser id
     */
    private String deleterUserId;

    /**
     * deletion time
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String deletionTime;

    /**
     * lastModification time
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String lastModificationTime;

    /**
     * lastModifierUser id
     */
    private String lastModifierUserId;

    /**
     * is deleted
     */
    private Integer isDeleted;
}
